//app.js
App({
  onLaunch: function () {},
  onShow:function(){},
  onHide: function(){},
  onerror :function(){},
  globalFun : function(){},
  globalData:{ }
})